package cn.tedu.spring2205.week01.demo01.service.impl;

import cn.tedu.spring2205.week01.demo01.dao.PersonDao;
import cn.tedu.spring2205.week01.demo01.service.PersonService;

public class PersonServiceImpl implements PersonService {

    private PersonDao personDao;

    public PersonServiceImpl(PersonDao personDao){
        this.personDao = personDao;
    }

    @Override
    public PersonDao getPersonDao() {
        return this.personDao;
    }
}
